<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" isELIgnored="false" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<title>录入成绩</title>
	<link rel="stylesheet" href="layui-v2.8.4/layui/css/layui.css">
</head>
<body>
<ul class="layui-nav layui-bg-gray" lay-unselect="false">
	<li class="layui-nav-item">
		<a href="javascript:;">信息查询</a>
		<dl class="layui-nav-child">
			<dd><a href="<%=request.getContextPath()%>/teacherInformationServlet.do">个人信息</a></dd>
			<dd><a href="<%=request.getContextPath()%>/courseInformationServlet.do">课程信息</a></dd>
		</dl>
	</li>
	<li class="layui-nav-item">
		<a href="<%=request.getContextPath()%>/grade.do">成绩管理</a>
		<dl class="layui-nav-child">
			<dd><a href="<%=request.getContextPath() %>/addStudentGrade.jsp">录入成绩</a></dd>
		</dl>
	</li>
	<li class="layui-nav-item">
		<a href="<%=request.getContextPath()%>/modifypassword.jsp">修改密码</a>
	</li>
	<li class="layui-nav-item">
		<a href="<%=request.getContextPath()%>/logoutServlet">注销</a>
	</li>
	<li class="layui-nav-item">${sessionScope.user.name },您好！</li>
</ul>
<form action="<%=request.getContextPath()%>/addStudentGradeServlet"  method="post">
	<div>
		<font color="RED">${sessionScope.message }	</font>
		<%session.removeAttribute("message"); %>
	</div>
	<div class="layui-form layui-row layui-col-space16">
		<div class="layui-form-item">
			<label class="layui-form-label">学年学期:</label>
			<div class="layui-input-inline layui-input-wrap">
				<select name="yearTerm">
					<option value=""></option>
					<option value="2023秋季">2023秋季</option>
					<option value="2023春季">2023春季</option>
					<option value="2022秋季">2022秋季</option>
					<option value="2022春季">2022春季</option>
				</select>
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">学号:</label>
			<div class="layui-input-inline layui-input-wrap">
				<input type="text" name="studentId"  lay-verify="required" autocomplete="off" class="layui-input">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">学生姓名:</label>
			<div class="layui-input-inline layui-input-wrap">
				<input type="text" name="studentName"  lay-verify="required" autocomplete="off" class="layui-input">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">课程编号:</label>
			<div class="layui-input-inline layui-input-wrap">
				<input type="text" name="courseId"  lay-verify="required" autocomplete="off" class="layui-input">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">课程名称:</label>
			<div class="layui-input-inline layui-input-wrap">
				<input type="text" name="courseName"  lay-verify="required" autocomplete="off" class="layui-input">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">分数:</label>
			<div class="layui-input-inline layui-input-wrap">
				<input type="text" name="score"  lay-verify="required" autocomplete="off" class="layui-input">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">绩点:</label>
			<div class="layui-input-inline layui-input-wrap">
				<input type="text" name="gradePoint"  lay-verify="required" autocomplete="off" class="layui-input">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">学分:</label>
			<div class="layui-input-inline layui-input-wrap">
				<input type="text" name="credit"  lay-verify="required" autocomplete="off" class="layui-input">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">课程大类:</label>
			<div class="layui-input-inline layui-input-wrap">
				<input type="text" name="courseClass"  lay-verify="required" autocomplete="off" class="layui-input">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">修读方式:</label>
			<div class="layui-input-inline layui-input-wrap">
				<input type="text" name="studyWay"  lay-verify="required" autocomplete="off" class="layui-input">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">考试性质:</label>
			<div class="layui-input-inline layui-input-wrap">
				<input type="text" name="examWay"  lay-verify="required" autocomplete="off" class="layui-input">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">成绩方式:</label>
			<div class="layui-input-inline layui-input-wrap">
				<input type="text" name="gradeWay"  lay-verify="required" autocomplete="off" class="layui-input">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">成绩有效:</label>
			<div class="layui-input-inline layui-input-wrap">
				<input type="text" name="effectivity"  lay-verify="required" autocomplete="off" class="layui-input">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">备注:</label>
			<div class="layui-input-inline layui-input-wrap">
				<input type="text" name="remarks"  lay-verify="required" autocomplete="off" class="layui-input">
			</div>
		</div>
		<div class="layui-btn-container">
			<button type="submit" class="layui-btn">录入成绩</button>
		</div>
	</div>
</form>


	<script src="layui-v2.8.4/layui/layui.js"></script>
	<link type="text/css" rel="stylesheet" href="layui-v2.8.4/layui/css/layui.css"/>
</body>
</html>